package org.ccay.security.vo;

import java.io.Serializable;

/**
 * 
 * @author chaowangbang
 *
 */
public class LoginVO implements Serializable{
	
	/**
	 * 登录失败
	 */
	public static final String LOGIN_FAILURE = "failure";
	/**
	 * 登录成功
	 */
	public static final String LOGIN_SUCCESS = "success";

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	/**
	 * 状态（success/failure）
	 */
	private String status;
	
	
	public LoginVO() {
	}
	
	
	public LoginVO(String status) {
		this.status = status;
	}

	/**
	 * 转向地址
	 */
	private String redirectURL = "";
	
	/**
	 * 登录失败时的提示信息
	 */
	private String message = "";

	
	/**
	 * 错误编码
	 */
	private String errCode = "";
	
	/**
	 * 错误相关的参数
	 */
	private Object args = "";
	
	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String getRedirectURL() {
		return redirectURL;
	}

	public void setRedirectURL(String redirectURL) {
		this.redirectURL = redirectURL;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}


	public String getErrCode() {
		return errCode;
	}


	public void setErrCode(String errCode) {
		this.errCode = errCode;
	}


	public Object getArgs() {
		return args;
	}


	public void setArgs(Object args) {
		this.args = args;
	}

}
